package com.janushuang.designpattern.decorator;

/**
 * @author zhijing.huang
 *         Created by zhijing.huang on 2014/9/28.
 */
public  class Decorator implements Component {
    private Component component;
    public Decorator(Component component){
        this.component = component;
    }
    @Override
    public void operation() {
        component.operation();
    }
}
